<div class="layuimini-container">

    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>订单号</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input"
                   lay-verify="required" disabled
                   placeholder="请输入订单号" value="{$row.order_no|default=''}">
        </div>
        <label class="layui-form-label" style='text-align:left'>用户</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.user.name|default=''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>商品</label>
        <div class="layui-input-block">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.goods_name|default=''}">
        </div>

    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>规格</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.spec_name|default=''}">
        </div>
        <label class="layui-form-label" style='text-align:left'>创建时间</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   {if $row['create_time']>0}
            value="{$row.create_time|date='Y-m-d H:i:s'}"
            {/if}
            >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>商品总金额</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row['total_price']|default=''}">
        </div>
        <label class="layui-form-label" style='text-align:left'>订单金额</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row['order_price']|default=''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>付款金额</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row['pay_price']|default=''}">
        </div>
        <label class="layui-form-label" style='text-align:left'>使用余额</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row['pay_balance']|default=''}">
        </div>
    </div>


    <div class="layui-form-item">


    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>收货人</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.receiver|default=''}">
        </div>
        <label class="layui-form-label" style='text-align:left'>收货电话</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.phone|default=''}">
        </div>
    </div>
    <div class="layui-form-item">

        <label class="layui-form-label" style='text-align:left'>收货地址</label>
        <div class="layui-input-block">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.address|default=''}">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>失败补贴金额</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row['failure_subsidy']|default=''}">
        </div>
        <label class="layui-form-label" style='text-align:left'>付款时间</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   {if $row['pay_time']>0}
            value="{$row.pay_time|date='Y-m-d H:i:s'}"
            {/if}
            >
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>订单状态</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.order_status|default=''}">
        </div>
        <label class="layui-form-label" style='text-align:left'>所需拼团人数</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.collage_num|default=''}">
        </div>
    </div>
    {if in_array($row['order_status'],['已退款'])}
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>提交退款时间</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   {if $row['submit_refund_time']>100000}
            value="{$row.submit_refund_time|date='Y-m-d H:i:s'}"
            {/if}
            >
        </div>
        <label class="layui-form-label" style='text-align:left'>退款时间</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   {if $row['refund_time']>10000}
            value="{$row.refund_time|date='Y-m-d H:i:s'}"
            {/if}
            >
        </div>
    </div>
    {/if}
    {if in_array($row['order_status'],['已发货','已完成'])}
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>物流公司</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.express_company|default=''}">
        </div>
        <label class="layui-form-label" style='text-align:left'>物流单号</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   value="{$row.express_no|default=''}">
        </div>

    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>发货时间</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   {if $row['delivery_time']>0}
            value="{$row.delivery_time|date='Y-m-d H:i:s'}"
            {/if}
            >
        </div>
        {if in_array($row['order_status'],['已完成'])}
        <label class="layui-form-label" style='text-align:left'>收货时间</label>
        <div class="layui-input-inline">
            <input style="border: none" type="text" name="order_no" class="layui-input" lay-verify="required"
                   disabled placeholder=""
                   {if $row['delivery_time']>0}
            value="{$row.delivery_time|date='Y-m-d H:i:s'}"
            {/if}
            >
        </div>
        {/if}
    </div>
    {/if}
    <div class="layui-form-item">
        <label class="layui-form-label" style='text-align:left'>已拼团人数</label>
        <div class="layui-input-inline">
            <input style="border: none;min-height: 10px" type="text" name="order_no" class="layui-input"
                   lay-verify="required"
                   disabled placeholder=""
                   value="{$row.join_num|default=''}"/>
        </div>
        {volist name='$row.order_user' id='item'}
        <div class="layui-input-block">
            <input style="border: none;min-height: 10px;" type="text" name="order_no" class="layui-input"
                   lay-verify="required"
                   disabled placeholder=""
                   value="姓名：{$item.name}，  电话：{$item.mobile}"/>
        </div>
        {/volist}

    </div>
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <label class="layui-form-label">物流公司</label>
            <div class="layui-input-block">
                <select name="express_id" data-select="{:url('mall.express/index')}"
                        data-fields="id,express_name" data-value="">
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">物流单号</label>
            <div class="layui-input-block">
                <input type="text" name="express_no" class="layui-input" lay-verify="required" placeholder="请输入物流单号"
                       value="{$row.express_no|default=''}">
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>